h3 Instances
if user && user.isAdmin()
	table
		tr
			a(href=`/resetData`)  Delete All Instances Data
table
	tr
		td Name
		td Case Id
		td Started
		td Ended
		td Examine Log
		if user && user.isAdmin()
			td Delete
	each instance in instances
		- var ref = "/instanceDetails?id="+instance.id;
		if user && user.isAdmin()
			- var ref2 = "/deleteInstance?id="+instance.id;
		tr
			td #{instance.name}
			td #{instance.data.caseId}
			td #{instance.fromNow}
			td #{instance.endFromNow} 
			td
				a(href=`${ref}`) Examine
			if user && user.isAdmin()
				td 
					a(href=`${ref2}`) Delete
